Part Number Hot Search : 
24C25 WPUGPA LN1351C ICS726A 2A280Z W83310UG CS840 RP1104
Product Description
Full Text Search
 

To Download SC9307P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 SC9307P
AUDIO SYSTEM CONTROL MCU WITH ANALOG RADIO FUNCTION
DESCRIPTION
SC9307P is a SOC based on Silan' 8-bit MCU SC65PX for analog s radio DFR control with low power dissipation. Built-in LCD driver which can drive 34 configurable I/O ports and three 8-bit counters, two of which can be combined to achieve 16 timing length; Built-in real time clock ensures the system uninterrupted counting when it is in sleep state; 11 interrupt sources, including four external interrupts, enabling the system to respond quickly to internal and external events. Multimode optional serial communication circuits greatly increase the system's scalability. Built-in 3.2MHz RC oscillator with external 75KHz oscillator can achieve the perfect balance between power and speed. In high speed application, it can extend external high frequency crystal through PC.4/5 pin, maximum up to 6MHz.
QFP44-10 x10-0.8
APPLICATIONS
* Clock movement
FEATURES (Note)
* Memory 384-byte data memory 8K-byte program memory (OTP) * I/O configuration 34 general-purpose I/O, 18 of which can be connected to pull-up resistor, open-drain output available.
www..comtimer/counter T0/T1/T2 * 8-bit
* Clock source External clock source: 75KHz oscillator Built-in RC oscillator: 3.2MHz; Extension oscillator: 2~6MHz(VDD>2.4V@4MHz) * RTC Year/month/day display Provide BCD code data directly Leap year auto adjust Timing alarm * Local oscillator frequency counting circuit Local oscillator: FM frequency range: 30MHz~150MHz AM frequency range: 0.5MHz~30MHz Counter: 16-bit, gate time 1/4/8ms * Built-in voltage reference VREF=1.23V5% * Interrupt source 5 external interrupts, maskable 6 internal interrupts, maskable Operating voltage range: 3.0~3.6V
Timing time can be set by program External events counting Arbitrary clock frequency output T0/T1 can be used as 16-bit counter * UART serial communication [port 2-line asynchronous communication Communicate rate slectable * A/D converter 4-channels with 8-bit conversion precision External reference voltage selectable Battery voltage monitor
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 1 of 12
SC9307P
ORDERING INFORMATION
Part No. SC9307P Package QFP-44-10x10-0.8 Marking SC9307P Material Pb-free Packing Tray
RESOURCE ALLOCATION Part No. SC9307P Timer 3 ADC channel 4 KBI 3 UART 1 GPIO 34 External interrupt 4
BLOCK DIAGRAM
External interrupt
Interrupt control
Internal interrupt
PA.0 Port A PA.7 PB.0/KS0 Port B PB.5 PC.0/ADC0 Port C PC.6 Port E 8-bit x4 ADC Port F Frequency counting module AVSS RTC Watchdog timer System clock control MCU RAM 384 UART OTP: 8Kx 8 8-bit Timer 2 8-bit Timer 1 8-bit Timer 0
www..com
Ref. 1.23V
Note: Pin VPP can be diplexed as RESET, when program the OTP memory, this pin is connected to 12V.
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 2 of 12
SC9307P
ABSOLUTE MAXIMUM RATINGS
Characteristics Supply Voltage Input Voltage (All I/O Pins) Input Voltage (RESET) Output Voltage Output High Level Current Output Low Level Current Operating Ambient Temperature Storage Temperature Symbol Ratings Unit
VDD VI1 VI1 VO IOH IOL Tamb TSTG
-0.3~5.5 -0.3~VDD+0.3 -0.3~VDD+0.3 -0.3~VDD+0.3 -15 30 -20~+75 -40~+125
V V V V mA mA C C
ELECTRICAL CHARACTERISTICS (Unless otherwise specified, Tamb=25 C,VDD=3.3V)
Characteristics Operating Voltage Symbol VDD IQ1 Quiescent Current IQ2 Operating Current IDD VIH1 Input High Voltage VIH2 VIL1 Input Low www..comVoltage VIL2 VOH1 VOH2 VOL1 VOL2 ILIH ILIL Rosc RL1 Pull-Down Resistor RL2 RH1 Pull-Up Resistor RH2 VDD=3.0V,Vreset = 0 67 Note1: Only 75KHz crystal oscillator and RTC are working. VDD=3.0V,Test = VDD VDD=3.0V,VIN=0,PA/B/C 83 25 K PE/F PA/B/C PE/F VDD=3V,PA/B/C,IOH=-1mA VDD=3V,PE/F,IOH=-1mA VDD=3V,PA/B/C,IOH=1mA VDD=3V,PE/F,IOH=1mA VIN=VDD, all input pins VIN=0V,all input pins VDD =3.0V,XIN=VDD, XOUT=0V VIN(FM/AM)=VDD 3000 6000 10.5 K 2.8 2.5 0.2 0.2 1 1 9000 2.0 1.0 V 1.0 V OSC 75KHz stop, CPU Clk stop OSC=75KHz,CPU Clk=75KHz Sleep (Note 1) OSC=75KHz,CPU Clk=3.2MHz, all the modules start PA/B/C 2.4 5.5 1.7 V 3.0 Test conditions Min. 3.0 Typ. 3.3 Max. 3.6 1 Unit V A A mA
Output High Voltage
Output Low Voltage Input High Leakage Current Input Low Leakage Current 75KHz Crystal Oscillator Feedback Resistor
V A
K
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 3 of 12
Http://www.silan.com.cn
PA.0/INT0 PA.1/INT1 PA.2/INT2 PA.3/INT3 PA.4/TCL0 PA.5/TCL1 PA.6 PA.7/BUZ PB.0/KS0 PB.1/KS1 PB.2/KS2 PE.3 PE.2 PE.1 PE.0 PFO AVSS AM FM TEST PC6/VREF PE.4
www..com
PIN CONFIGURATION
HANGZHOU MICROELECTRONICS CO.,LTD
REV:1.0
SC9307P
2009.08.04 Page 4 of 12
SC9307P
PIN DESCRIPTION
Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 www..com 24 25 26 27 28 29~36 37~44 Pin Name PA.0 PA.1 PA.2 PA.3 PA.4 PA.5 PA.6 PA.7 PB.0 PB.1 PB.2 PB.4 PB.5 PC.0 PC.1 RESET GND XOUT XIN VDD PC.4 PC.5 PC.6 TEST FM AM AVSS PFO PE.0~7 PF.0~7 Diplex pin INT0 INT1 INT2 INT3 TCL0 TCL1 BUZ KS0 KS1 KS2 TCLO0 TCLO1 ADC0 ADC1 VPP ADC4 ADC5 VREF PE.0~7 I/O AD input O I I/O AD input I/O I I O I/O I/O General input / output; Configurable bit operation. System reset pin Digital ground Low frequency oscillator output Low frequency oscillator input Digital power supply General input / output; Configurable bit operation. PC4/5 can also be used as high speed crystal interface; General input / output; ADC reference input Test enable pin, internal pull-down resistor FM signal input AM signal input Analog ground Programmable frequency output, can be used for buzzer driving General input / output General input / output I/O General input / output; 8bit read/write; Configurable bit operation. I/O Pin Descriptions
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 5 of 12
SC9307P
DIPLEX PIN DESCRIPTION
Pin no. 12 13 1-4 5 6 8 9~11 12 13 16 21 22 23 Diplex pin TXD RXD INT0-INT3 TCL0 TCL1 BUZ KS0-KS2 TCLO0 TCLO1 VPP XIN4M XOUT4M VREF I/O O I I I I O I O O I O I Description Serial communication data output Serial communication data input External interrupt input External counting pulse/clock input of timer 0 External counting pulse/clock input of timer 1 Buzzer signal output Key scan input, can generate interrupt Frequency division output of timer 0 Frequency division output of timer 1 High voltage pin, when download OTP, connects to 12V voltage High frequency crystal input High frequency crystal output ADC external reference voltage input
FUNCTION DESCRIPTION
SC9307P has embedded SC65PX core and 8K-byte OTP program memory, the data memory is 384-byte. Built-in RC oscillator generates 3.2MHz clock frequency, and after 1/2,1/4 frequency divided, It can also be used as system main clock together with external 75KHz oscillator or extended high speed clock by PC4/5 to implement applications in different modes, thus to reduce the power dissipation. The built-in counting circuit can be used for local oscillator signal counting and RC oscillator frequency measuring. In addition, it has three 8-bit counters T0/T1/T2. T0/T1 can be used separately or used together as a 16-bit counter. The built-in RTC module provides powerful calendar/alarm functions, and BUZ signals with 4 different frequencies. PA/B/C/E/F can www..com provide max. 34 I/O ports, where PA/B has pull-up configuration and selectable open-drain output function, PC can be shared as ADC analog pin, 16 PE/F ports are all used as general I/O without pull-up resistor or opendrain function. Compared to port PA, PB and PC, driving ability of port PE and PF are a little weak. MCU Address Space MCU uses 16-bit address bus, the maximum addressing space is 64K-Byte (0000H~FFFFH). The address assignment of memory space is as follows:
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 6 of 12
SC9307P
SFR: Special function registers. This block includes system control & status register and the mapping of ports and display data block. Register Mapping Table 0000H~007FH is assigned to I/O and some function registers. Where 0000H~000FH is assigned to the core. Function registers and I/O ports configuration of used address space is as follows: Module Used Address Space
www..com
Register IRQIP IRQDP
I/O W/R W/R W/R W/R W/R W/R W W W R W/R W/R W/R
Address 00H 01H 02H 03H 47H 04H 09H 0AH 06H 07H 08H 45H 46H
Function descriptions Maskable interrupt enable register Maskable interrupt source register Non-maskable interrupt enable register Non-maskable interrupt source register Interrupt control register Watchdog timer setting and enable register Watchdog clear register (write 53H, ACH to 09H,0AH to clear WDT) MCU sleep control register MCU status register Bit operation address space selection register(refer to SC65PX instructionsfor details) System function control register System clock control register
Interrupt Control
NMIIP NMIDP INTCON WDTCON
NMI is not used in the circuit, reserved. Forbid it by SEN instruction of program. Watchdog Timer WDT CLR0 WDT CLR1 MCU control MCU_SLP MCU_STATUS
Bit Operation Control BITCTRL System Control Clock Control SYSCON CLKCON
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 7 of 12
SC9307P
Module Block Signal Selection Control Register CLKSEL RTC_CS YEARH SECOND MIN HOUR DAY RTC Data and Control WEEK MON YEARL MIN_ALARM HOUR_ALARM DAY_ALARM WEEK_ALARM CKO_CS TIMER2 TIMER0 TIMER1 T2CON T2REF T0CON T0REF T1CON T1REF UART_BUF SCON UART
www..com
I/O W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R W W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R R W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R W/R
Address 4BH 30H 31H 32H 33H 34H 35H 36H 37H 38H 39H 3AH 3BH 3CH 3DH 48H 49H 4CH 4DH 4EH 4FH 62H 63H 64H 65H 50H 51H 52H 55H 56H 57H 59H 5DH 5AH 5EH 5BH 5FH 5CH
Function descriptions Block signal selection control register RTC control register MSB of year data(BCD: 00~99) Second data(BCD: 00~59) Minute data(BCD: 00~59) Hour data(BCD: 00~23) Day data(BCD: 01~31) Week data(BCD: 0~6) Month data(BCD: 01~12) LSB of year data(BCD: 00~99) Minute alarm setting Hour alarm setting Day alarm setting Week alarm time setting BUZ signal control Control register Preassign register Control register Preassign register Control register Preassign register Transmitting/receiving data buffer UART control register Baud rate control register Baud rate counting initial value setting register Conversion result of 8-bit storage Analog/digital control and status Local oscillator input control register Frequency counting mode control register Low 8-bit of frequency counting data High 8-bit of frequency counting data Direction control register of port A Data temporary storage register of port A Direction control register of port B Data temporary storage register of port B Direction control register of port C Data temporary storage register of port C Port and A/D input diplex selection control
BRCON BRTIMER ADDATA ADCON PLLCON IFMOD
Analog/Digital Converter Local oscillator amplify Frequency counter
IFCNT0 IFCNT1 TRISA PORTA
Port and Direction Control (strong driving)
TRISB PORTB TRISC PORTC APCON
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 8 of 12
SC9307P
Module Pull-up Configuration PUA PUB PORTE Port and Direction Control (weak driving) PORTF PECFGL PECFGH PFCFGL PFCFGH 6F7FH Unused Interrupt control SC65PX supports two kinds of interrupts: Non-maskable interrupt NMI; maskable interrupt IRQ. Where PRI of non-maskable interrupt NMI is higher than maskable interrupt IRQ. However, this circuit does not implement NMI interrupt. 1. Maskable interrupts SC9307P has 11 maskable interrupts in total without PRI; Setting IRQIP register to determine if the interrupt is enable. All the maskable interrupts use the same entry address FFF8H. 2. Non-maskable interrupts(reserved) Non-maskable interrupt NMI is active high. Entry address is FFFCH/FFFDH. This circuit does not implement NMI function. There is no need to set NMIIP and NMIDP registers. 3. External interrupts SC9307P has 4 IO input interrupts: ExtInt0~3 input by PA0~3 pins; one scan interrupt KSINT sharing one interrupt source with ExtInt2, IRQDP.6. ExtInt3 and IF interrupt IRQIFC share one interrupt source, IRQDP.7. In addition, RTC and Timer2 share one interrupt source.
www..com
Register
I/O W/R W/R W/R W/R W W W W
Address 60H 61H 68H 69H 6BH 6CH 6DH 6EH
Function descriptions I/O port pull-up mode selection register I/O port pull-up mode selection register Data temporary storage register of port E Data temporary storage register of port F PE0~3 pin configuration register PE4~7 pin configuration register PF0~3 pin configuration register PF4~7 pin configuration register
Watchdog Timer Watchdog timer adopts independent counter. Watchdog (WDT) is mainly used for program monitor. After counting overflows, it generates reset signal to avoid endless loop or other error execution status. The longest overflow time is 873.6ms with 75KHz crystal oscillator. Operating mode control SC9307P work in three modes: normal mode, sleep mode, and data hold mode. Normal mode can be divided into high-speed mode and low-speed mode. The difference is the different system clock sources. The high speed mode system clock comes from internal RC oscillator or high speed oscillator extended by PC4/5, while the low speed mode system clock comes from external low speed oscillator. After power on, CPU clock is provided by internal RC oscillator which needs to turn on internal reference module. Select clock frequency or switch to the external low speed clock (75KHz) by setting system control register and clock control register. The MCU enters sleep mode by setting SLEEP flag of MCU sleep control register MCU_SLP as 1. After the MCU enters sleep mode, external 75KHz oscillator still works, and CPU clock will be turned off. But it can still response to internal timer interrupt or external IO interrupt. The circuit enters sleep mode which can reduce the
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 9 of 12
SC9307P
system standby power dissipation (with 75KHz crystal oscillator, when RTC enables at 3V operating voltage, typical power dissipation current is less than 5A). Reset, internal or external interrupt can wake up CPU and make it enter work in full speed. When system clock comes from external low speed oscillator, if this oscillator is closed by program, the circuit will enter data hold mode. In this mode, RAM data is saved. The dissipation current is reduced to less than 1uA. External IO interrupt or reset can make the oscillator work again. Note: The clock should be switch to 75KHz before entering the sleep mode. Turn off the power reference circuit and other relative circuits to reduce the power dissipation. Clock and Reset SC9307P supports many selectable operating clocks. The clock source can be external 75KHz crystal oscillator, and can also be the clock generated by internal RC oscillator. When high precision and high speed is needed, it can extend high frequency external oscillator through PC4/5. The structure is as follows:
The system reset occurs when: internal watchdog counting overflows; external Reset pin input low level. The circuit jumps to the start address of the program from reset address FFFAH and begins working normally.
www..comhas built in RC oscillator, and frequency of RC oscillator is about 3.2MHz when supply voltage is 3V. SC9307P
If only fast response to internal and external events is needed without high precision, RC oscillator can be adopted as CPU clock to make the system process the events quickly. RC oscillator will vary following the voltage and temperature, so PC4/PC5 must be used to extend high-speed oscillator to satisfy the system requirements under the conditions that need high-precision timing or asynchronous communication, etc.. RC oscillator begins to work after reset, and used as CPU clock. Real time Clock (RTC) RTC module can provide powerful timing function. When it starts, it will work separately from CPU. It can provide minute, hour and year/month/day, etc. in BCD formats. Minute, hour, week, day alarm can be set, and the alarm function can be triggered by interrupt or inquiring the alarm flag by software. At the same time, it will generate 0.5s real time clock signal, which can trigger interrupt. This interrupt shares one channel with alarm interrupt. It is used together with INTCON register. At the same time, it provides 4 BUZ signals to driver the buzzer. Timer T0/T1/T2 SC9307P includes three 8-bit timers Timer0, Timer1 and Timer2. Where, T0 and T1 timers can be used together as a 16-bit timer. When T0 or T1 are used separately, their functions are as follows:
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 10 of 12
SC9307P
O O O 8-bit programmable timing, generate interrupt after setting the time interval Arbitrary frequency output External clock frequency division
T0/T1/T2 has one control register and one pre-assignment register. UART SC9307P has built-in full duplex async communication interface with three modes: 8bit variable baud rate, 9bit fixed baud rate or variable baud rate communication. O O O Pin Tx diplex with PB4, pin RX diplex with PB5 Baud rate presetting register can adjust baud rate freely Transmitting and receiving interrupt cooperation dual buffer can guarantee the high speed communication stable and reduce the CPU load. 8-bit ADC 8-bit AD converter is mainly used for keyboard scan and electronic volume display. It has 4 input channels (PC0/1/4/5). Select a channel and input switch level by program and the result is stored in an 8-bit register. Conversion clock has 4 selectable clock sources. Input internal reference voltage through channel 6 of ADC to detect the battery voltage (together with internal standard voltage). PC4/5 can also be used to extend high frequency oscillator pin, if it is not connected to oscillator, ADC input channel is not effected. One AD conversion needs 12 clock cycles, and the typical conversion time of ADC is 160s with 75KHz oscillator. Frequency counting module This module mainly includes local oscillator signal amplifier and gate control counting. FM or AM local oscillator signal is counted by a 16-bit counter after amplified. This counter gate control time can be selected as 1/4/8ms, so the local oscillator frequency can be got easily according to the counter value and gate time. I/O Port SC9307P www..comhas 5 groups of I/O ports: PA, PB, PC, PE, PF. PA has 8 pins, where 4 pins are used for external interrupt input. PB has 5 pins, where 3 pins are used for key input interrupt. PC has 5 pins, where 4 pins are shared with ADC input channel. PC.6 is used for ADC external reference voltage input. PE/PF are general I/O, 16 pins in total. So there are max. 34 pins can be used as IO pins. There are three registers for ports PA/B. Data register PORTx latches the output data, direction register TRISx controls the dataflow direction (set 1 to be output). PUA register and TRISA register can implement input pull-up or output open-drain of port A. PB has only 5 pins, port PC of PUB register is controlled by 3 registers, TRISC realizes direction selection, PORTC stores output data, APCON realizes the switch of analog channel and digital channel. Register PORTx is readable/writable. When PORTx is set as output, read the last writing data of this register; when it is set as input, read the pin state. Usage of port PE/F is different from PA/B/C. Just take port PE as an example, lower 4-bit of register PECFGL is used for controlling PE.3~0 ports. When PECFGL.3 is set as 1, PE.3 acts as output and when PECFGL.3 is set as 0, PE.3 acts as input. Lower 4-bit of register PECFGH is used for controlling PE.7~4 ports. When PECFGH.3 is set as 1, PE.7 acts as output and when PECFGH.3 is set as 0, PE.7 acts as input. Usage and function of PF are same as PE, used as output after reset. Control mode of PFCFGL, PFCFGH are same as PECFGL, PECFGH.
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 11 of 12
SC9307P
PACKAGE OUTLINE
QFP-44-10x10-0.8
Unit: mm
www..com
HANDLING MOS DEVICES:
Electrostatic charges can exist in many things. All of our MOS devices are internally protected against electrostatic discharge but they can be damaged if the following precautions are not taken: * Persons at a work bench should be earthed via a wrist strap. * Equipment cases should be earthed. * All tools used during assembly, including soldering tools and solder baths, must be earthed. * MOS devices should be packed for dispatch in antistatic/conductive containers.
Disclaimer: * * Silan reserves the right to make changes to the information herein for the improvement of the design and performance without further notice! All semiconductor products malfunction or fail with some probability under special conditions. When using Silan products in system design or complete machine manufacturing, it is the responsibility of the buyer to comply with the safety standards strictly and take essential measures to avoid situations in which a malfunction or failure of such Silan products could cause loss of body injury or damage to property.
*
Silan will supply the best possible product for customers!
HANGZHOU MICROELECTRONICS CO.,LTD
Http://www.silan.com.cn
REV:1.0
2009.08.04 Page 12 of 12


▲Up To Search▲   

 
Price & Availability of SC9307P

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X